package com.smart.reader.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smart.reader.model.po.StudentInfo;
import com.smart.reader.model.vo.StudentInfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface StudentInfoMapper extends BaseMapper<StudentInfo> {
    List<StudentInfoVo> queryInfo();
    StudentInfoVo detail(@Param("id") Long id);
    List<StudentInfoVo> queryByClassId(@Param("classInfoId") Long classInfoId);
}
